Merged
Conversation
arpit-jn
approved these changes
Dec 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auth0 Python SDK v5.0.0b0
This is a beta release of the upcoming major version. It introduces breaking changes, particularly in the Management API client. Please refer to the v5 Migration Guide for detailed upgrade instructions.
✍️ What's New
AsyncAuth0andAsyncManagementClientinclude_totals=Trueby default💥 Breaking Changes
Python Version Support
Management API Client Redesign
include_totals=Trueis now the default for list operationsImport Changes
from auth0.management import Auth0from auth0.management import Auth0orManagementClientfrom auth0.management import AsyncAuth0orAsyncManagementClientfrom auth0.exceptions import Auth0Errorfrom auth0.management.core.api_error import ApiErrorfrom auth0.authentication import GetTokenfrom auth0.authentication import GetToken(unchanged)📝 Quick Migration Example
Before (v4.x):
After (v5.0.0):
🔧 Migration Steps
ManagementClientwith justdomaininstead of fullbase_urlApiErrorinstead ofAuth0Errorfor Management API errorsinclude_totalsnow defaults toTrue- adjust if you relied onFalseAsyncManagementClientorAsyncAuth0for async operations✅ What's NOT Affected
The
authenticationpackage remains fully compatible! All authentication APIs work the same way between v4.x and v5.0.0:GetToken- Client credentials, authorization code flowsDatabase- User signup and authenticationPasswordless- Passwordless authenticationUsers- User authentication operations📚 Resources
This is a beta release. While core functionality is stable, minor API adjustments may occur before the final v5.0.0 release. Please test thoroughly and provide feedback!
📦 Installation
Or add to your requirements.txt: